package com.qingcloud.adminbackend.entity.role;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SysRoleDto extends Model<SysRoleDto> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户身份ID")
    private Integer id;

    @ApiModelProperty(value = "身份名称")
    private String name;

    @ApiModelProperty(value = "1网格化 2室内空气")
    private Integer roleType;

    @ApiModelProperty(value = "描述")
    private String description;

    @ApiModelProperty(value = "数据权限")
    private String dataFunction;

    @ApiModelProperty(value = "是否删除", hidden = true)
    private String deleteFlag;

    @ApiModelProperty(value = "身份排序")
    private String orderNum;

    @ApiModelProperty(value = "创建时间", hidden = true)
    private String createDt;

    @ApiModelProperty(value = "创建人", hidden = true)
    private String createBy;

    @ApiModelProperty(value = "修改时间", hidden = true)
    private String modifyDt;

    @ApiModelProperty(value = "修改人", hidden = true)
    private String modifyBy;

    @ApiModelProperty(value = "角色功能id列表，用于角色修改保存时，传入为角色勾选的功能id列表", example = "4028f481585db7d701585dc760710017,2c9280dc5ad2347e015ad4fd83c60006")
    private String funIds;

}
